checkboxes are saving correctly in the db