update upvoting system so that it works