Upgrade dependencies for spring and JPA project