Updates photo model, controller, and routes