update for checkboxes and reset loading