update sum of multiples