update hooks and some functions. Remove recaptcha warnings