change mainUrl