updated xyz file output