udpate the post