update interfaces for GL2