Fix for ip change; store nodes in DB