updated context and remove ARB functions