persist value of checkboxes properly

only the initial value of a checkbox on page load was being tracked. fix so that checkbox values are always tracked.