add label-edit and label-delete logic