Comment reset variable after updating foreign key.