got it working with firebase, adding, updates