task handler update