When creating Umbraco.BlockList with Items programmatically they are not showing, how to 'publish' them?

I actually asked to remove the post because it was a stupid mistake from my end. The contentTypeKey in one element didn’t match the guid for that contentType. Normally it should work when they match. When all elements don’t match it doens’t anything. But when 1 matches and another not that one will shows ‘in draft’ for that item. But else it should work.