update minpathroutines