modify a log