Added update function in install file