updated renderer example