maha | modified error audit table to include instance_id instead of entity_id