updated the connector and the put method of the buffer