Update frequency.pl