Update frequency.R