updates for gizmo, add a call back to render unit