diagram updates