update for conditional download