update redirect url