public function update($token = null, $data = [])
    {
        return $this->app->tokens->update($token, $data);
    }
public function update($token = null, $data = [])
    {
        return $this->app->tokens->update($token, $data);
    }
public function update ( $ token = null , $ data = [ ] ) { return $ this -> app -> tokens -> update ( $ token , $ data ) ; }
Updates a session

@param string $token Token hash
@param array $data Data to store
@return array|bool Session data or false
Updates a session