update dr.xt; format code