changed update switch