edit active_id to merge records