fixed upvotes  to always stay in sync with firebase