update multiplying fractions by integers