fixed edit routes