Editing custom entity