Updated the base case.