Fixed bug in printing
Fixed bug: now removes metadata before adding new metadata in case an ip address changed without the UUIDs changing