add modified locally to metadata