connecting to more api and update callback fro firebase for sumbitvote and sumbit answer