Updated q library to 0.9.7