save question stats in firebase