Add updating sessions functionality