update version number in document