update the RESTRouter part