update view_log