Set lastUpdate just before return