add up-to-date check