Fixing preloader update function call