Some updates to the metaflask api