updateData in background, callback in updateData