update thuat toan tim canh chung