only updating logs when there's a new one