added version updating in nation update functionality