Update ypid on detail page