update the install method