firebase api updated

once out of beta they changed names of a few things and functions so just fixing