fixed incorrect template update