Updating previous class.