Look at your $_POST array when submitted, this should tell you what to do.
Each item in the array should be the id of the record as key and the checkbox result as value (0=unchecked, 1=checked). Iterate through them with foreach and do what you gotta do (load a model, change it, save it).