update archive type