Fix assign algorithm bug.
Update ta-status using AJAX.