Updating div model plotting script.