Consistently use difftime function.
Only try to update menu entries when they exist.