updating sessions controller