update how routing works