tables and model update

tables and model update