update RSA metods