fix some issues with install and update