always update target_id in case of contained_in