Update freq to array