Updating the table

Updating the table to reduce number  of tables created for each visit by
adding an enum for that.