Update mg_tb.sql