update Image dir.