implement an update script