modify upvote model