udpate Debug Console Function