update mysql connect for mysqli