photo upload now swaps temp path with final url rather than appending url