def _prev_index(self, s):
        self.set_index(max(0, self.index - 1))
def update(id, params=None, env=None, headers=None):
        return request.send('post', request.uri_path("plans",id), params, env, headers)