Fix updating of a template
Merge remote-tracking branch 'origin/master'