update sessions.