rebuild_client