update checkbox model