update bufferObjectWriter