Updates up function