Adding updates and sorting them by timestamp