update for the change to sqlite