add upvote functionality