Fixed: new foreign id was not added to foreignid list

the foreign id now is added to the local list of
foreign id on provision dashboard.
Addin a new node the foreign id list was not updated
with the new node foreign id giving strong side effects.