Finds and updates a specific row. If no matching row is found, a new row is created using the given values.