updating list of courses