vote api and ui update