simple switch action updated