Updating courses controller