update scan file