The Gemara says (Yevamos 63a)
רב הוה קא מצערא ליה דביתהו כי אמר לה עבידי לי טלופחי עבדא ליה חימצי חימצי עבדא ליה טלופחי כי גדל חייא בריה אפיך לה אמר ליה איעליא לך אמך אמר ליה אנא הוא דקא אפיכנא לה אמר ליה היינו דקא אמרי אינשי דנפיק מינך טעמא מלפך את לא תעביד הכי שנאמר למדו לשונם דבר שקר העוה וגו'
Rav was bothered by his wife. When he told her to make Tlufchi she made Chimtzi and when he told her to make Chimtzi she made Tlufchi. When Chiya his son grew up he made sure to invert [Rav's instructions]. Rav told his son "Your mother improved". He said back "I inverted [your instruction]". ... Rav instructed him not to do so anymore as it says 'teach your tongue to stay away from falsehood'
On the other hand (Yevamos 65a)
וא"ר אילעא משום רבי אלעזר בר' שמעון מותר לו לאדם לשנות בדבר השלום שנאמר אביך צוה וגו' כה תאמרו ליוסף אנא שא נא וגו' ר' נתן אומר מצוה שנאמר ויאמר שמואל איך אלך ושמע שאול והרגני וגו'
R' Ilai says in the name of Rabbi Elazar B'R Shimon one is allowed to change truth for the sake of peace as it says [by Josef's brothers] "Our father commanded..." R' Nosson says It's a Mitzva as it says "Shmuel says How can I go, but Shaul will kill me"
Looks like by changing the truth in the first quote R' Chiya B'Rebbi improved Shalom Bayis. This seems (in Quote 2) to be a Mitzva. Why did his father criticize him?