add method to sanitize input
Update