update firebase token generator