How to update existing one to one association with fields_for rails
===

I have a one to one association on my model and I'm using fields_for, however when I'm updating my parent object the child object gets created again no matter what, and I get a primary key constraint violation. Is there a way to tell rails to update my existing record?