update sample simulation