updated upvote method
upvotes working