Added ability to only update modified templates.