change all files in view and edit the main