Dynamic buffer data replace