actually fixed edit photo route