Saving data every second.