Updated the VoteHub with a global context hook