test for updating firebase data