Beta functions in Higher Derivative Gravity