Added pause parameter to update script