Getting rid of lua_getglobal from updates api