updateAttributes for tables without primary keys