Add delete image function to update article view