Level 40 is the cap for the heroes; they can’t reach a level beyond that. Post the 40th level; there are tier upgrades. A tier upgrade boosts their skills and basic stats, but tier upgrades are not easy and require stones.