Fix Lua update (an API change was missed)

I hope that this is correct.