allow admin to choose whether to upgrade to production code or dev code