code: function update($data = null) {
  		// update is an SQL keyword
  		if (!isset($data)) {
  			$data = $this->modified;
  		}
  		$result = new NotORM_Result($this->result->table, $this->result->notORM);
  		$return = $result->where($this->result->primary, $this->primary)->update($data);
  		$this->primary = $this[$this->result->primary];
  		return $return;
  	}
docs: Update row
  @param array or null for all modified values
  @return int number of affected rows or false in case of an error