change sqlite3 to ndb of gae