template and static update