set mysql fields, update models validation, minor changes