add function to delete image