upgrade sqlite.c and add change_passwd function