Update deprecated variable access