diff --git a/include/caosdb/message_code.h b/include/caosdb/message_code.h
index 367b5e9be8c43887e85436ac5491545329de9f10..faf04d3bb5b53dc87f1e36223a2dcef44b3ca6f4 100644
--- a/include/caosdb/message_code.h
+++ b/include/caosdb/message_code.h
@@ -44,13 +44,22 @@ enum MessageCode {
   ENTITY_DOES_NOT_EXIST = caosdb::entity::v1alpha1::MessageCode::MESSAGE_CODE_ENTITY_DOES_NOT_EXIST,
   ENTITY_HAS_NO_PROPERTIES =
     caosdb::entity::v1alpha1::MessageCode::MESSAGE_CODE_ENTITY_HAS_NO_PROPERTIES,
+  INTEGER_VALUE_OUT_OF_RANGE =
+    caosdb::entity::v1alpha1::MessageCode::MESSAGE_CODE_INTEGER_VALUE_OUT_OF_RANGE,
+  ENTITY_HAS_BEEN_DELETED_SUCCESSFULLY =
+    MessageCode::MESSAGE_CODE_ENTITY_HAS_BEEN_DELETED_SUCCESSFULLY,
 };
 
 [[nodiscard]] inline auto get_message_code(int code) noexcept -> MessageCode {
   // TODO(tf) smarter, less forgot-it-prone implementation
-  static MessageCode all_codes[] = {MessageCode::UNSPECIFIED, MessageCode::UNKNOWN,
-                                    MessageCode::ENTITY_DOES_NOT_EXIST,
-                                    MessageCode::ENTITY_HAS_NO_PROPERTIES};
+  static MessageCode all_codes[] = {
+    MessageCode::UNSPECIFIED,
+    MessageCode::UNKNOWN,
+    MessageCode::ENTITY_DOES_NOT_EXIST,
+    MessageCode::ENTITY_HAS_NO_PROPERTIES,
+    MessageCode::INTEGER_VALUE_OUT_OF_RANGE,
+    MessageCode::ENTITY_HAS_BEEN_DELETED_SUCCESSFULLY,
+  };
 
   for (MessageCode known_code : all_codes) {
     if (known_code == code) {
diff --git a/proto b/proto
index 014096e3c9d6d4624dc786f5aaec27f26e01072a..75e826bd318c39e63d324f71e035f08355ffc51f 160000
--- a/proto
+++ b/proto
@@ -1 +1 @@
-Subproject commit 014096e3c9d6d4624dc786f5aaec27f26e01072a
+Subproject commit 75e826bd318c39e63d324f71e035f08355ffc51f