update writer

current one writer can not connect to mutil NSQd.
Code is not tested.