update build directory