Add a chdir before celery worker restartin the update script

Also fix the commands order in the whole script