got the upvote function to actually insert something into the array