Added endpoints for updating votes