updated spgl1