1.update url method