Hmm, I don't know why I've put the session timeout in update. I should put it in the constructor.