added edit controller & view