delete and edit