update build dir