Added an Update method in the EntityManager Class.