update exclude pattern