basic update script