[Upg] refactoring routes.php coding style