update  a post