update find pattern