Update simulation and browser code