Add table creation and entity creation and udpate