added code to duplicate an asset after increasing the version