Fix the edit page and added a few features.