refactor up/down vote paths