update and add script