fix bug in Tone updates, was storing wrong values