Redesign algorithm edit page