Change edit scaffold to get data from controller