Update Entity Manager