update an imported package