Fixing the metadata update