Update sanitize condition