update assignment details API has been modified.