plotlyupdate dircount fix