updating external up function