update mode to undebug