Update apiary_io.py