Update Path Sum