Update base directory path