How does prestige work?

So I've been head coach of the Saint Joseph Hawks for the past 4 years as they have great facilities and good academics for such a low prestige college (they start off around 46). I had a couple of good seasons and raised the prestige of the college to about 53 and then one bad season which saw it drop back down to 48.
it's got my wondering what actually goes into deciding if you gain prestige or lose it. Is it just strictly based off how good of a season you have? is any of it based off the recruits you bring in? One season i got the #58 ranked recruit nationally but i'm unsure if that had anything to do with my prestige going up.
is their anything i can be doing to help me gain better prestige that I'm missing?
it's got my wondering what actually goes into deciding if you gain prestige or lose it. Is it just strictly based off how good of a season you have? is any of it based off the recruits you bring in? One season i got the #58 ranked recruit nationally but i'm unsure if that had anything to do with my prestige going up.
is their anything i can be doing to help me gain better prestige that I'm missing?