update class config read js methods