updating log