Update Task model