drawing is updated