add lua round loop api