add validate for errors
add validates
updates