update the voterstream initialize procedure code to make it work