Replace url for firebase