API: Only set frequency if differs