Moved the scope of the last_updated time.