add refresh raw endpoint, and update the query model