update loader hook examples