Set the upper bound for some dependencies