update front template