update set_method in router