update the base path