Added update logic for pom versions.