change updateClientProfile into public .