added table functions activate/deactivate/save