update luntan function