upVote and downVote function