fix problem with updating reactive graph