Mexico working with affected countries after 40 killed in IN