switch url update method