changed http method for votes