support {{#with}} ... {{else}} ... {{/with}}
update history