Working on the materials edit page