also update cache on ssh session exit