Implement metadata updates and expose in cl