updates moved to firebase