fix contract table update #571