arch diagram upload
some improvements