add version number into preferences