update constraint