updating usage() for the client