Added the update switch