improve implementation
update pkg info