Updated block flow diagram.