Revert "Handling edit and delete"

This reverts commit dec70ae369303c1ddc850fcd8ad5ef3ea7eeda15.