updating agree to work with new jkind api