updated the CRUDController