updated post model to calc total votes, corrected spelling errors on votes table