update the logs