Update session.lua to use db2.