use local database instead of fetch from network
use database commit 2