updating name elements in composer and xml