Upgrade of the compact neutron spectrometer for high flux environments