update assert statement