Update doc + matches check