add version support into policy