maxPathSum updated