change edit related function

in this commit, the edit page can finally get the information by id
Merge branch 'master' of https://github.com/lilyringing/db_zoo