update buffers management