Update working directory