update support custom output dir