modifed the update scripts to work with supervisord