updated the response for updatePost