update getParameter method to read from new config