Checkbox in dropdown not updating