libs/cbi: change widgets using model.network to new api