rebuild edit page