public function update_record($recId, array $updates) {
		if(((is_numeric($recId) && $recId >= 0) OR (is_array($recId) && count($recId))) && is_array($updates) && count($updates) > 0) {
			
			$updateString = "";
			$params = array();
			
			foreach($updates as $f=>$v) {
				$updateString = ToolBox::create_list($updateString, $f .'=:'. $f, ', ');
				$params[$f] = $v;
			}
			
			if(is_array($recId)) {
				foreach($recId as $f=>$v) {
					$whereClause = ToolBox::create_list($whereClause, $f .'=:'. $f, ' AND ');
					$params[$f] = $v;
				}
			}
			else {
				$whereClause = $this->pkeyField .'=:id';
				$params['id'] = $recId;
			}
			$sql = 'UPDATE '. $this->tableName .' SET '
				. $updateString 
				.' WHERE '. $whereClause;
			try {
				$retval = $this->dbObj->run_update($sql, $params);
			}
			catch(Exception $e) {
				throw new Exception(__METHOD__ .":: failed to update record (". $recId ."), DETAILS::: ". $e->getMessage());
			}
		}