update BASE_PATH in config