Updated createTable