updating to actually work when switching from optimized to unoptimized