Update Firebase js