Update sum_from_to