change events checkboxes to boolean to save to db