Add AJAX for updating team object.