update version on document