updating session settings