update log2k code