updated app
updated photo model, and paperclip.