Book of Heroes

Hero Points

So is there a max of 500 you can use per category? I just spent 500 hero points on the magic of my War Mage and it didn't go up to the next level. So did I unknowingly completely waste 500 hero points?