update buffer reader