First version for update script