updated gui and fixed tags for tables