update -- for logs