 		return true
 	}
 
-
-	public func update(data: [(String, Any)],idName: String = "id", idValue: Any) throws -> Bool {
+	@discardableResult
+	public func update(data: [(String, Any)], idName: String = "id", idValue: Any) throws -> Bool {
 
 		var keys = [String]()
 		var vals = [String]()

		}
		paramsString.append(String(describing: idValue))

		let str = "UPDATE \(self.table) SET \(set.joined(separator: ", ")) WHERE \(idName) = $\(params.count+1)"

		do {
			try exec(str, params: paramsString)


extension PostgresStORM {

	@discardableResult
	public func update(cols: [String], params: [Any], idName: String, idValue: Any) throws -> Bool {

		var paramsString = [String]()
