Update $detailPattern