changed metafile to update after each successful run