fixed the provision to merge update with install