update buffer data when position has changed