update debug file