         return callback err  if err
         return callback new KodingError 'No such group!'  unless group
 
+        kallback = (rest...) ->
+          expireCache group.getAt 'slug'
+          callback rest...
+
         # we need to make sure if given stack template is
         # valid for the current group limit ~ GG
         templates = data.stackTemplates

          ComputeProvider = require '../computeproviders/computeprovider'
          ComputeProvider.validateTemplates client, templates, group, (err) =>
            return callback err  if err
            @updateAndNotify notifyOptions, { $set: data }, callback
        else
          @updateAndNotify notifyOptions, { $set: data }, callback


  setLimit    : permit

  { Inflector, ObjectId, ObjectRef, secure, signature } = require 'bongo'

  JPermissionSet = require './permissionset'
  { permit, expireCache } = JPermissionSet

  JAccount       = require '../account'
  KodingError    = require '../../error'
