update route config