Created Entity Manager and now used for updating