Update buffer thread.