merge updateRichDecls