update with xml templates