Modify procedure