get table name function added
primary key added to edit input