update helper to render tooltip