add version internal attribute