update route helper