combined all FB updating functions into a switch case
Merge pull request #48 from jjacobskind/front-end-firebase

combined all FB updating functions into a switch case