updating courses position