update restapi router