Redirect after updating nodes
use \Drupal\Core\Url;    
use Symfony\Component\HttpFoundation\RedirectResponse;

function MYMODULE_node_update(Drupal\node\NodeInterface $node) {
  $path = Url::fromUserInput('/node/'.$node-&gt;id())-&gt;toString();
  $response = new RedirectResponse($path);
  $response-&gt;send();
}


You have to use like above. You are just returning the redirect response. You need to send redirectresponse to given path.