fixed code for upvote
Merge pull request #3 from drichards2013/demo

fixed code for upvote