Updated routine edit