update for log scan ID and the Similarity