add update collection to load function