update names_in_chains