change some of the sqlite commands