post will automatically update if the request contains body