Added support for new table not just update