upgrade sqlite.c, move client files, move database files