compat to luasec update