Updating wrong case for n