Update pom to latest APIs