updated votes are now saved to mongoDB