Update checkbox state when the checkbox model is changed.