adds update hook and install settings