public function update($name, $email, $mention_name, $timezone = 'UTC', $is_group_admin = false, $title = '', $password = null)
    {
        $queryParams = array(
            'name' => $name,
            'title' => $title,
            'mention_name' => $mention_name,
            'is_group_admin' => $is_group_admin,
            'timezone' => $timezone,
            'email' => $email,
        );
        if ($password != null) {
            $queryParams['password'] = $password;
        }
        $user_id = $this->getId();

        $response = $this->request->put('user/'.$user_id.'', $queryParams);

        return $this->request->returnResponseObject($response);
    }