edit controller for initial view