added hack to write updateBuf to file instead of sending to an active client connection