added table parser to check() and update() methods