updating basepath url