randomly updating a record every 2 seconds