Updates to the sqlite class