updating scripts and graphs