latest update with Firebase