Add working method of updating buffer. Initial patch works, subsequent patches still failing