change $adapter to $provider in docs