Code written for Updating Consumer Profile.