change url method