Refactor to use the table object's save method