adding instance_id to tables that lack them
completed hf_nis, removing redundant procedures