fixed a bug that monitoring_upgrade is always overwritten to true