change sampling frequency