Updates route names (e.g. in isFirstPage method) as we have migrated
to new routes.