Modify the sesssion.