update auto build and active spa for production