add merge_instance