update route to match database