public void updateRecordValue(RecordValue recordValue) throws SQLException {
		PreparedStatement stmt = null;
	  Statement keyStmt = null;
	  ResultSet keyRS = null;
	  try {
		  String sql = "UPDATE record_values SET batch_id = ?, field_id = ?, value = ?, record_number = ? where id = ?";
		  stmt = db.getConnection().prepareStatement(sql);
		  stmt.setInt(1, recordValue.getBatchId());
		  stmt.setInt(2, recordValue.getFieldId());
		  stmt.setString(3, recordValue.getValue());
		  stmt.setInt(4, recordValue.getRecordNumber());
		  stmt.setInt(5, recordValue.getId());
		  if (stmt.executeUpdate() == 1) {
			  System.out.println("SUCCESS");
		  } else {
			  System.out.println("UPDATE failed");
		  }
	  } catch (SQLException e) { e.printStackTrace(); }
	  finally {
		  if (stmt != null) stmt.close();
		  if (keyRS != null) keyRS.close();
		  if (keyStmt != null) keyStmt.close();
	  }
	}