Changes to update archives

Added preprocessor PropertyGroup for update archive macros
Fixed small bug in archive update code