update output direcory instead of recreating