new entrada tables with auto_increment and update on insert