No need to pass localContext to update block anymore. print statistics at end of persist operation