add version to model