Updating Errors in Lua