changed delete and edit actions