Updates the last scanned timestamp after successful scan.