created a downvote method, which subtracts from upvote attribute