updateWhitelistedFunction(bytes4 func, bool isAllowed)