change upload using photo model