update:the debug fun