fixed plot update