scratch dir update