Update template, add if expression.
Update template, added for expression.