update debug way.