updating log update statement