refactor: update firebase