update in memory metadata after reflection