def dist(a, b):
    return sum((i-j)**2 for i, j in zip(a, b))
def update(id, params=None, env=None, headers=None):
        return request.send('post', request.uri_path("plans",id), params, env, headers)