updates for stackgl