update script metadata