add update method + small fix

- Add an update method that rewrote checkbox with new options.