another go at xml updating