Updating slide toggle