building poll page with vote and update