update for checkbox state changed