Update scan_position