add phots upload to index