Documentation and error handling segementation fault by CREATE/DELETE/UPDATE/CREATE