update photo model test