public function update(){
		if($this->frozen)
			throw new NeevoException('Update disabled - cannot get primary key or table.');

		if(!empty($this->modified)){
			return Statement::createUpdate($this->connection, $this->table,	$this->modified)
					->where($this->primary, $this->data[$this->primary])->limit(1)->affectedRows();
		}
		return 0;
	}