# File lib/fog/rackspace/models/auto_scale/policy.rb, line 134
        def update
          requires :identity

          check_attributes

          options = {}
          options['name'] = name unless name.nil?
          options['change'] = change unless change.nil?
          options['changePercent'] = change_percent unless change_percent.nil?
          options['cooldown'] = cooldown unless cooldown.nil?
          options['type'] = type unless type.nil?
          options['desiredCapacity'] = desired_capacity unless desired_capacity.nil?

          if type == 'schedule'
            options['args'] = args
          end

          data = service.update_policy(group.id, identity, options)
          merge_attributes(data.body)
          true
        end