update how figures are ordered