cleanup metadata updates