update working with windows and buffers section