Modification in network binding's handleCommand for the argument of UpdateState has no effect on openHAB web UI

Hello everyone,

Here is what I have done,

1 git clone openhab2-addons.git
from github

2
$cd openhab2-addons/addons/binding/org.openhab.binding.network

3 do modification
@Override
public void handleCommand(ChannelUID channelUID, Command command) {
if (command instanceof RefreshType) {
switch (channelUID.getId()) {
case CHANNEL_ONLINE:
try {
State state = networkService.updateDeviceState() < 0 ? OnOffType.OFF : OnOffType.ON;
state = OnOffType.ON;//modification
updateState(CHANNEL_ONLINE, state);
} catch( InvalidConfigurationException invalidConfigurationException) {
updateStatus(ThingStatus.OFFLINE);
}
break;
case CHANNEL_TIME:
try {
State state = new DecimalType(networkService.updateDeviceState());
state = new DecimalType(5.0);//modification
updateState(CHANNEL_TIME, state);
} catch( InvalidConfigurationException invalidConfigurationException) {
updateStatus(ThingStatus.OFFLINE);
}
break;
default:
logger.debug(“Command received for an unknown channel: {}”, channelUID.getId());
break;
}
} else {
logger.debug(“Command {} is not supported for channel: {}”, command, channelUID.getId());
}
}

3
$mvn package

4
previously, I download and extract
distribution-1.8.1-runtime.zip
distribution-1.8.1-demo.zip

5
$cp ./target/org.openhab.binding.network-2.0.0-SNAPSHOT.jar ~/Downloads/openhab/addons/

6
$cat configurations/sitemap/demo2.sitemap
sitemap demo2 label=“Main Menu”
{
Frame {
Switch item=MyDevice
Switch item=MyDevice
//Number item=MyTime
Text item=MyTime label=“MyTime [%d s]”

    }

}

7
$cat configurations/items/demo2.items
Switch MyDevice { channel=“network:device:1:online” }
Number MyTime { channel=“network:device:1:time” }

8does
$start.sh

9 in web browser,
localhost:8080:sitemap=demo2

Quesion:
However, it seems my modification in handleCommand function does not take any effect.

Any comment for this?
I think the switch will be shown as ON, and the number should be shown as 5s as I modified in source code.
Or do I have some misunderstanding?

Any information is very appreciated.