Update client functions to use config