field validation and update models