Update to add support for detecting auto_increment