don't update if the timestamp is the same as the previous one
write timestamp to config file