taking the order information out of the json into the db now, and some updating fixes