update scripts from upstream