Added ajax points update on code exchange