Update nnrelation.php