change the views -new and index