reverted
reverted
reduced code for upvoting/downvoting by using field update operators