Change submit form to work for update
Add update method to rails controller
Move divs to root page