fix edit link
fix ui
edit test data
refactor server.