update work dir