updating pitch