added edit entities feature