update 2dcode