changed route on edit photo