update application and index erb files