better update script