updated architecture doc