Removed duplicated lines for updating the owner relationship