test cases to redirect to some other path when successfully updation