uses correct value to update pitch