complete UpdateMessageHandler,leave query message and gossip message and return uid part in updateMessage process