Refactor insert() to cope with autoincrement fields