Update manage page.

Delete dead code,Fix bug.