save daily data to firebase