added ability to disable add, update, and delete functions