update circular dependency demo code.