I, ystallonne alves, updated the updateProgress method