Update action without model relationship

I setup 3 models such as A,B,C
A has_many B
B belongs_to A
B has_many C
C belongs_to B

I found when I use C.update, then B and A also would be updated.
How to stop this affect,is there an option ?