updated renderer for query result