update for preloading