update irb example