Updating LatestVersionId for previously replaced attributes