update routes and precompile assets