move data query update to async task. move database open close to data
source.