code  update

some update  on  k  and  d