Get Clients function update