upgrade doc and packaging