added delete slots in edit event