fix updating and add a switch in udpate to force it