Change the way upvotes are updated in the database.