update config model and course model