modify route code