Update:buffer代码更新