adding features to remove and edit entities