Updated the frontend to use votes