debug and update #debug