update Constrant