               :type "noop"
               :library (:artifact-value data-pack)}]
     (if (s/check schm/NoopAction data)
-      (msg/danger "Data is wrong! Check out it please.")
+      (msg/danger default-error-message)
       (do
         (.modal ($ :#iModalAddAction) "hide")
         (ajax 

              :template (:email-template data-pack)
              :library (:artifact-value data-pack)}]
    (if (s/check schm/EmailAction data)
      (msg/danger "Data is wrong! Check out it please.")
      (do
        (.modal ($ :#iModalAddAction) "hide")
        (ajax "/api/actions" "POST" data 

(defn ^:export update-project [project-id new-name]
  (let [data {:name new-name}]
    (if (s/check schm/Project data)
      (msg/danger default-error-message)
      (do
        (.modal ($ :#iModalProjectMenu) "hide")
        (ajax
