updating posts to add delete buttons