Fix firebase update issue.