update sanitizer method