printLastError during updateLastError