Improves buffer update