refactor uri edit page