refresh templates for latest code mirror