Course update converted to mysqli