updated session query language