checked out seperate branch for update script rewrite