Update EntityManager.java