adds compliance logic to scan model
merges compliance logic with notes update