updating sessions