add fields types to the database
enhance the field validation