update irbuilder for method