update pom to version 7