delete and enable/disable of book function