Update to sqlite commands