update switch icon