update with barrets example