Fixed editing URL issue - added path to photo model