update table definitions