Updated deletion action and edit form