app update: votes logic