updated removed_instance.pl