rename the buffer