change version array format