user set votes function updated