frequency array update