update and deleted post