add progress callback for bundle loading