1) update the debug flag