Update of the template map