Fix log not updating