Changed field name type to name
Applied changes of field for models