speed up redirection-update query