URL Code rewrite on Edit