when we mark a task as completed the percentage of completion should calculate automatically.