updating block diagram