edit controller and compontnts