update with freq.