update debug logging