adding photo model