Simplifying update script