update basepath management