Update get_instances_fields

Cleaning