Update loading hook