added delete action for images