update application and routes