Improved package installation
Added SQL update