Update generation script and routes