update for magic build