updating log storage method