update architecture picture, fix generation script