updated edit routes