fixed a bug which prevented object fields from updating if the field was empty