add more validation
update a model