efficient dirty checking for templating