Added fixes to template so that a task will update properly