Use install instead of localinstall
Add update_pkg to lib