add buffer change