added update_votes filter, which allows front end to send a dictionary of locally cached votes to the backend