Update the foreign key value when use instance update.