update front-end for template messages