changed session model