delete and edit work