update the routes so that it works under any folder