Modified to use asSyncAdapter mothod