added update_fields and create_fields