updates for k_array