update function fixed, block figure and arrows and text now updated using transitions