implement vote save