updating account functionlity