Fill update url and key correctly even if they are blank