update working dir