mysql update, now storing logs with readable newlines