upgrade the templates to a more simple version