I don't think UML can guarantee project success. However, UML diagrams can give better insight into the project requirements and development. For this, requirements should be crisp clear in order to have better diagrams, and changes , which can occur very often in the requirements, should be updated in the diagrams. Project will be success if we follows diligently good architechture.