make it sync to firebase once the objects are created properly.