ROOT and AliRoot update for geant3