updated rate limiter