update master, add workdir for BuildFactory