modify metadata for update role defination