Add a modified Table::save() method to deal with entity api