Updated inst to entity