updated table storage to their new api