updating class name fetching