save vote to db