update run menu example code