public function update($value)
{
if (!is_string($value) && !is_int($value) && !is_array($value)) {
$this->errorno = self::ERR_INPUT_PARAM;
$this->error = self::MSG_TYPE_NOT_SUPPORTED;
return $this->errorno;
}
$status = $this->client->apply($this->key, 'llist', 'update', array($this->bin, $value));
$this->processStatusCode($status);
return $this->errorno;
}