modify controller for votes