updating inject decorator