simplify update script