updates to use SQLSession