updating post data