Add auto create and update table