correct minor bug in tone update code