Do not update final_len silently in UPDATE_OUTPUT