Correctly update pom.xml