update with enable switch