Update serialise.py