updated checkbox states