update client for the rest api changes