update mongodb role