metadata persistence