Updated update script so deployment from master works