fixed update return zero output length