add controller function of edit campus