update  trainee subject detail and trainee profile code