update wifi buffer