updated app in rails