add some data structure changes, upgrade server ui