issue #2433:Update lua manual binding and modify some samples