update logs, but this sucks, has to be a better way