Move update logic back workflow.py [ci skip]