@Override
    public void setValueAt(Object aValue, int rowIndex, int columnIndex) {
	Customer customer = customers.get(rowIndex);
	switch (columnIndex) {
	    case 0:
		customer.setId((Long) aValue);
		break;
	    case 1:
		customer.setFirstname((String) aValue);
		break;
	    case 2:
		customer.setLastname((String) aValue);
		break;
	    case 3:
		customer.setBirth(Date.valueOf((String) aValue));
		break;
            case 4:
		customer.setEmail((String) aValue);
		break;
	    default:
		throw new IllegalArgumentException("columnIndex");
	}
        try {
            customerManager.updateCustomer(customer);
            fireTableDataChanged();
        } catch (Exception ex) {
            String msg = "User request failed";
            LOGGER.log(Level.INFO, msg);
        }
    }