update fields in schema