updated rails
updated photo index page