update tbl_logs stucture