updating routes and precompile