update the dependencies and JpaConfig